<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="新增充值用户">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
								
                                <div class="toolbor-module search">
                                 	<div class="formTit">用户名：</div>
                                    <input type="text" name="username" id="username" value="请输入用户名" class="search-value">
                                     <div class="formTit">真实姓名：</div>
                                    <input type="text" name="realname" id="realname" value="请输入真实姓名" class="search-value">
                                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                                </div>
                                
                                <div class="toolbor-module search">
                                    <div class="formTit">充值时间：</div>
                                    <input class="_search-value" name="startDate" id="startDate" value="" onclick="change_picktime()"/>
                                    <div class="formTit"> 到 </div>
                                    <input class="_search-value" name="endDate" id="endDate" value=""  onclick="change_picktime()"/>
                                </div>
                               
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                    <table class="data-list">
                                        <tr class="header">
                                            <td>用户名</td>
                                            <td>真实姓名</td>
                                            <td>第一次充值时间</td>
                                            <td>充值金额</td>
                                            <td>总金额</td>
                                            <td>可用余额</td>
                                            <td>注册时间</td>
                                            <td>易极付账户信息</td>
                                        </tr>
                                        <#if list?? && (list?size) gt 0 >
                                        	<#list list as item>
                                            <tr class="s">
                                                <td>${item.userName!''}</td>
                                                <td>${item.realName!''}</td>
                                                <td>${item.rechargeDate!''}</td>
                                                <td>${(item.rechargeMoney?c)!0}元</td>
                                                <td>${(item.total?c)!0}元</td>
                                                <td>${(item.useMoney?c)!0}元</td>
                                                <td>${item.registerDate!''}</td>
                                                <td><a onclick='alertPop("账户信息","url:get?/admin/account/viewYjfAccount.html?userId=${item.userId?c}",550,500,"true","","true","text");' href="javascript:void(0)">查看</a></td>
                                            </tr>
                                        	</#list>
                                         </#if>
                                    </table>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>

                                    <!--翻页系统--{-->
                                    <div class="container s_formPage">
                                        <#import "../../common/page.html" as pager>
                                            <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                    </div>
                                    <!--翻页系统--}-->
                                </div>
                                <!--底部工具栏--}-->

                                <script>
                                    var url = 'firstRechargeUser.html?search=true';

                                    function sousuo(){
                                        var sou = "";
                                        var username = $("#username").val();
                                        if (username!=null&&username!=""&&username!="undefine"&&username!="请输入用户名"){
                                            sou += "&username="+username;
                                        }
                                    	var realname = $("#realname").val();
                    					if(realname!=""&&realname!="请输入真实姓名"){
                    						sou += "&realname="+realname;
                    					}
                   					  	var startDate = $("#startDate").val();
                                        	var endDate = $("#endDate").val();
                                         if (startDate!=null){
                                             sou += "&startDate="+startDate;
                                         }
                                         if (endDate!=null){
                                             sou += "&endDate="+endDate;
                                         }
                                        if (sou!=""){
                                            location.href=url+sou;
                                        }
                                    }
                              
                                </script>
                            </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../jsPage.html">
